﻿namespace WMS6.Web.AnalyticsReportServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="ShipmentOrderStatusRptInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class ShipmentOrderStatusRptInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private DateTime ACTUAL_SHIP_DATEField;
        [OptionalField]
        private string C_ADDRESSField;
        [OptionalField]
        private string C_COMPANYField;
        [OptionalField]
        private string CARRIER_IDField;
        [OptionalField]
        private string CARRIER_NAMEField;
        [OptionalField]
        private string CONSIGNEE_IDField;
        [OptionalField]
        private string CURRENTPAGEField;
        [OptionalField]
        private DateTime EndTimeField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string EXTERN_ORDER_IDField;
        [OptionalField]
        private DateTime ORDER_DATEField;
        [OptionalField]
        private string ORDER_IDField;
        [OptionalField]
        private string OWNER_IDField;
        [OptionalField]
        private string REMARKField;
        [OptionalField]
        private DateTime REQUESTED_SHIP_DATEField;
        [OptionalField]
        private string SKU_CLASS_IDField;
        [OptionalField]
        private DateTime StartTimeField;
        [OptionalField]
        private string STATUSField;
        [OptionalField]
        private string TOTALPAGESCOUNTField;
        [OptionalField]
        private string TOTALRECORDSCOUNTField;
        [OptionalField]
        private string TYPEField;
        [OptionalField]
        private string VENDOR_IDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public DateTime ACTUAL_SHIP_DATE
        {
            get
            {
                return this.ACTUAL_SHIP_DATEField;
            }
            set
            {
                if (!this.ACTUAL_SHIP_DATEField.Equals(value))
                {
                    this.ACTUAL_SHIP_DATEField = value;
                    this.RaisePropertyChanged("ACTUAL_SHIP_DATE");
                }
            }
        }

        [DataMember]
        public string C_ADDRESS
        {
            get
            {
                return this.C_ADDRESSField;
            }
            set
            {
                if (!object.ReferenceEquals(this.C_ADDRESSField, value))
                {
                    this.C_ADDRESSField = value;
                    this.RaisePropertyChanged("C_ADDRESS");
                }
            }
        }

        [DataMember]
        public string C_COMPANY
        {
            get
            {
                return this.C_COMPANYField;
            }
            set
            {
                if (!object.ReferenceEquals(this.C_COMPANYField, value))
                {
                    this.C_COMPANYField = value;
                    this.RaisePropertyChanged("C_COMPANY");
                }
            }
        }

        [DataMember]
        public string CARRIER_ID
        {
            get
            {
                return this.CARRIER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CARRIER_IDField, value))
                {
                    this.CARRIER_IDField = value;
                    this.RaisePropertyChanged("CARRIER_ID");
                }
            }
        }

        [DataMember]
        public string CARRIER_NAME
        {
            get
            {
                return this.CARRIER_NAMEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CARRIER_NAMEField, value))
                {
                    this.CARRIER_NAMEField = value;
                    this.RaisePropertyChanged("CARRIER_NAME");
                }
            }
        }

        [DataMember]
        public string CONSIGNEE_ID
        {
            get
            {
                return this.CONSIGNEE_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CONSIGNEE_IDField, value))
                {
                    this.CONSIGNEE_IDField = value;
                    this.RaisePropertyChanged("CONSIGNEE_ID");
                }
            }
        }

        [DataMember]
        public string CURRENTPAGE
        {
            get
            {
                return this.CURRENTPAGEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CURRENTPAGEField, value))
                {
                    this.CURRENTPAGEField = value;
                    this.RaisePropertyChanged("CURRENTPAGE");
                }
            }
        }

        [DataMember]
        public DateTime EndTime
        {
            get
            {
                return this.EndTimeField;
            }
            set
            {
                if (!this.EndTimeField.Equals(value))
                {
                    this.EndTimeField = value;
                    this.RaisePropertyChanged("EndTime");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string EXTERN_ORDER_ID
        {
            get
            {
                return this.EXTERN_ORDER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERN_ORDER_IDField, value))
                {
                    this.EXTERN_ORDER_IDField = value;
                    this.RaisePropertyChanged("EXTERN_ORDER_ID");
                }
            }
        }

        [DataMember]
        public DateTime ORDER_DATE
        {
            get
            {
                return this.ORDER_DATEField;
            }
            set
            {
                if (!this.ORDER_DATEField.Equals(value))
                {
                    this.ORDER_DATEField = value;
                    this.RaisePropertyChanged("ORDER_DATE");
                }
            }
        }

        [DataMember]
        public string ORDER_ID
        {
            get
            {
                return this.ORDER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ORDER_IDField, value))
                {
                    this.ORDER_IDField = value;
                    this.RaisePropertyChanged("ORDER_ID");
                }
            }
        }

        [DataMember]
        public string OWNER_ID
        {
            get
            {
                return this.OWNER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OWNER_IDField, value))
                {
                    this.OWNER_IDField = value;
                    this.RaisePropertyChanged("OWNER_ID");
                }
            }
        }

        [DataMember]
        public string REMARK
        {
            get
            {
                return this.REMARKField;
            }
            set
            {
                if (!object.ReferenceEquals(this.REMARKField, value))
                {
                    this.REMARKField = value;
                    this.RaisePropertyChanged("REMARK");
                }
            }
        }

        [DataMember]
        public DateTime REQUESTED_SHIP_DATE
        {
            get
            {
                return this.REQUESTED_SHIP_DATEField;
            }
            set
            {
                if (!this.REQUESTED_SHIP_DATEField.Equals(value))
                {
                    this.REQUESTED_SHIP_DATEField = value;
                    this.RaisePropertyChanged("REQUESTED_SHIP_DATE");
                }
            }
        }

        [DataMember]
        public string SKU_CLASS_ID
        {
            get
            {
                return this.SKU_CLASS_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_CLASS_IDField, value))
                {
                    this.SKU_CLASS_IDField = value;
                    this.RaisePropertyChanged("SKU_CLASS_ID");
                }
            }
        }

        [DataMember]
        public DateTime StartTime
        {
            get
            {
                return this.StartTimeField;
            }
            set
            {
                if (!this.StartTimeField.Equals(value))
                {
                    this.StartTimeField = value;
                    this.RaisePropertyChanged("StartTime");
                }
            }
        }

        [DataMember]
        public string STATUS
        {
            get
            {
                return this.STATUSField;
            }
            set
            {
                if (!object.ReferenceEquals(this.STATUSField, value))
                {
                    this.STATUSField = value;
                    this.RaisePropertyChanged("STATUS");
                }
            }
        }

        [DataMember]
        public string TOTALPAGESCOUNT
        {
            get
            {
                return this.TOTALPAGESCOUNTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TOTALPAGESCOUNTField, value))
                {
                    this.TOTALPAGESCOUNTField = value;
                    this.RaisePropertyChanged("TOTALPAGESCOUNT");
                }
            }
        }

        [DataMember]
        public string TOTALRECORDSCOUNT
        {
            get
            {
                return this.TOTALRECORDSCOUNTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TOTALRECORDSCOUNTField, value))
                {
                    this.TOTALRECORDSCOUNTField = value;
                    this.RaisePropertyChanged("TOTALRECORDSCOUNT");
                }
            }
        }

        [DataMember]
        public string TYPE
        {
            get
            {
                return this.TYPEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TYPEField, value))
                {
                    this.TYPEField = value;
                    this.RaisePropertyChanged("TYPE");
                }
            }
        }

        [DataMember]
        public string VENDOR_ID
        {
            get
            {
                return this.VENDOR_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VENDOR_IDField, value))
                {
                    this.VENDOR_IDField = value;
                    this.RaisePropertyChanged("VENDOR_ID");
                }
            }
        }
    }
}

